{% if pageCount > 1 %}
    {% if previous is defined %}
        <a href="{{ path(route, query|merge({(pageParameterName): previous})) }}"  class="pre">上一页</a>
    {% endif %}

    {% if next is defined %}
        <a href="{{ path(route, query|merge({(pageParameterName): next})) }}" class="next">下一页</a>
    {% endif %}
{% endif %}
